from dataclasses import dataclass
from datetime import datetime
from enum import IntEnum

class LogLevel(IntEnum):
    DEBUG = 100
    INFO = 200
    WARN = 300
    ERROR = 400

@dataclass
class LogData:

    level:LogLevel
    msg:str
    time:datetime
    tag:str = ""
    exception_info:str = ""

